package com.sc.nft.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;
import org.apache.commons.compress.utils.Lists;

import java.util.ArrayList;
import java.util.List;

@AllArgsConstructor
@Getter
public enum WalletChannelEnum {
  SAND(1, "衫德"),
  HF(2, "汇付"),
  LL(3, "连连"),
  HNA(4, "新生支付"),
  ;
  @EnumValue private int code;
  private String description;

  public static List<WalletChannelEnum> getList() {
    ArrayList<WalletChannelEnum> list = Lists.newArrayList();
    list.add(SAND);
    list.add(LL);
    list.add(HNA);
    return list;
  }
}
